#include "e2d/imgui/trans/Editor.h"
#include "e2d/core/Entity.h"

bool e2d::trans::Editor::TryTreeEditEntity(e2d::Entity* entity)
{
    bool flag{ 0 };
    flag |= TryTreeEdit<TransformNode>(entity);
    flag |= TryTreeEdit<AnimationClip>(entity);
    flag |= TryTreeEdit<Animator>(entity);
    flag |= TryTreeEdit<Grid>(entity);
    flag |= TryTreeEdit<LayoutGrid>(entity);

    return flag;
}

